package team.first.movieapiv2pro.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.moiveapiv1.dto
 * @Date: 2021/11/25 13:48
 * @Description: post请求传入的电影信息封装类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "responseComment")
public class RequestComment {

    @ApiModelProperty(value = "编号", example = "1")
    private Integer id;

    @ApiModelProperty(value = "电影编号", example = "1291545")
    private Integer movieId;

    @ApiModelProperty(value = "用户编号", example = "1")
    private Integer userId;

    @ApiModelProperty(value = "昵称", example = "冷芝士鸭")
    private String nickname;

    @ApiModelProperty(value = "内容", example = "真是一部感人泪下的好电影")
    private String content;

    @ApiModelProperty(value = "用户头像", example = "1.jpg")
    private String avatar;

    @ApiModelProperty(value = "创建时间", example = "2021-11-23 15:26:14")
    private String createdAt;

    @ApiModelProperty(value = "评分", example = "8")
    private String rating;

}